//
//  HWAES128.h
//  HWanGame
//
//  Created by 开源纵横 on 2019/11/5.
//  Copyright © 2019 Chendaobin. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface HWAES128 : NSObject
/**
 *  加密
 *
 *  @param string 需要加密的string
 *
 *  @return 加密后的字符串
 */
+(NSString *)AES128Encrypt:(NSString *)plainText key:(NSString *)key;

/**
 *  解密
 *
 *  @param string 加密的字符串
 *
 *  @return 解密后的内容
 */
+(NSString *)AES128Decrypt:(NSString *)encryptText key:(NSString *)key;

@end

NS_ASSUME_NONNULL_END
